package com.lhj.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author lhj
 * @Classname MqttMessage
 * @Description mqtt发送消息实体
 * @Date 2021/3/2 13:40
 * @Version V1.0
 */
@ApiModel("消息类")
@Data
public class MqttMessage {


    @ApiModelProperty(value = "消息体",required = true,example = "mqtt消息体",notes = "mqtt消息体备注")
    private String message="推送消息";

    @ApiModelProperty(value = "主题",required = true,example = "mqtt主题",notes = "mqtt消息体备注")
    private String topic="发送主题";
}
